<div class="date"><span>{{time.0}}</span> {{time.1}}</div>
<div class="title">
<h2>
<a href="{{blog_post.get_absolute_url}}" rel="bookmark" title="Permanent Link to {{blog_post.title}}">
{{blog_post.title}}</a>
</h2>
<div class="postdata">
<SPAN class="category">
<a href="{{blog_post.catalog.get_absolute_url}}" title="显示分类-{{blog_post.catalog}}-的所有文章" rel="category tag">{{blog_post.category}}</a>
</SPAN> 
<span class="right edit-blog">
{% if user.is_authenticated and user.is_staff %}
<a onclick="return showAddAnotherPopup(this);" href="/edit_blog/{{blog_post.id}}">Edit</a>
<a onclick="{if(confirm('确定删除博文吗?')){return showAddAnotherPopup(this);}return false;}" href="/del_blog/{{blog_post.id}}">Del</a>
{% endif %}
</span>
<span class="right mini-add-comment"><a href="#respond">Add comments</a></span>
</div>
</div>
<div class="entry">
{% autoescape off %}
<p>{{blog_post.content}}</p>
{% endautoescape %}
<div>标签:{{blog_post.tags}}</div>
<style>#favs img{padding:1px;margin:0px;border:1px solid #EEE;}</style><div align="left" style="padding:10px 10px 10px 0;" id="favs">
<script type="text/javascript" src="/blogstatic/js/favs.js"></script>
</div>
</div>
